<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@include file="/WEB-INF/common/taglibs.jsp" %>
<div class="row-fluid">
	<div class="span4">
		<form    method="post">
		<div class="box boxMargin">
 			<input type="hidden" name="_method" value="put" />
			<div class="title">
				<h4 class="clearfix">
					<span class="left">
						Email Server Config
               </span>
					<span class="box-form right">
						<button class="btn btn-success btn-mini" type="submit">Submit
						</button>
					</span>
				</h4>
				  <a href="#" class="minimize"></a>
			</div>
			<div class="content form-horizontal clearfix">
				<div class="form-row row-fluid">
					<label class="form-label span4">stmp url </label>
					<input class="span8" name="smtpServer" type="text"
						value="${emailConf.smtpServer}" />
				</div>

				<div class="form-row row-fluid">
					<label class="form-label span4">sender</label>
					<input class="span8" name="sender" type="text"
						value="${emailConf.sender}" />
				</div>
				<div class="form-row row-fluid">
					<label class="form-label span4">username </label>
					<input class="span8" name="username" type="text"
						value="${emailConf.username}" />
				</div>

				<div class="form-row row-fluid">
					<label class="form-label span4">password </label>
					<input class="span8" name="password" type="password"
						value="${emailConf.password}" />
				</div>
					<div class="form-row row-fluid">
					<label class="form-label span4">Port </label>
					<input class="span8" name="port" type="text"
						value="${emailConf.port}" />
				</div>
				<div class="form-row row-fluid">
					<label class="form-label span4">Receivers </label>
					<input class="span8" name="receivers" type="text"
						value="${emailConf.receivers}" />
				</div>
		
				
				<div class="form-row row-fluid">
							<label class="form-label span4 strong">Auth</label>
							<input type="checkbox" name="auth" id="auth"
							<c:if test="${emailConf.auth}">checked=checked </c:if>
								  />
				</div>
				
				<div class="form-row row-fluid">
							<label class="form-label span4 strong">Starttls</label>
							<input type="checkbox" name="starttls" id="starttls"
							<c:if test="${emailConf.starttls}">checked=checked </c:if>
								  />
				</div>
					<div class="form-row row-fluid">
							<label class="form-label span4 strong">Ssl</label>
							<input type="checkbox" name="sslEnable" id="ssl"
							<c:if test="${emailConf.sslEnable}">checked=checked </c:if>
								  />
				</div>
				<h4>Retrieve Setting </h4>
				<div class="form-row row-fluid">
					<label class="form-label span4">Retrieve Host </label>
					<input class="span8" name="retrieveHost" type="text"
						value="${emailConf.retrieveHost}" />
				</div>
			
				
				<div class="form-row row-fluid">
					<label class="form-label span4">Retrieve Email </label>
					<input class="span8" name="retrieveEmail" type="text"
						value="${emailConf.retrieveEmail}" />
				</div>
 			
				<div class="form-row row-fluid">
					<label class="form-label span4">Retrieve Password </label>
					<input class="span8" name="retrievePassword" type="text"
						value="${emailConf.retrievePassword}" />
				</div>
				
		
			</div>
			</div>
				</form>
			</div>

		
	</div>
    